package com.ruoyi.mongo.senior.entity;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "senior")
public class Senior {
    @Id
    private String _id; // MongoDB文档的ID，通常是ObjectId类型
    private String name; //
    private String type; //
    private String chinese; //
    private int group; //
    private int number; //

    private String time; //
    private String practiceId; //单词编号
    private String orderTime; //页面内时间
    private int voiceCount; //声音播放次数

    private boolean loadMore; //网络释义开关
    private JSONObject wordMore; //网络释义
}
